package lxt.entity;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * DriverInfo entity. @author MyEclipse Persistence Tools
 */

public class DriverInfo  implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
    // Fields    

     private String driverId;
     private String name;
     private String phone;
     private String driverLicense;
     private String licenseType;
     private String licenseYear;
     private String note;
     private Set<Object> driverWorkloads = new HashSet<Object>(0);


    // Constructors

    /** default constructor */
    public DriverInfo() {
    }

    
    /** full constructor */
    public DriverInfo(String name, String phone, String driverLicense, String licenseType, String licenseYear, String note,Set<Object> driverWorkloads) {
        this.name = name;
        this.phone = phone;
        this.driverLicense = driverLicense;
        this.licenseType = licenseType;
        this.licenseYear = licenseYear;
        this.note = note;
        this.driverWorkloads = driverWorkloads;
    }

   
    // Property accessors

    public String getDriverId() {
        return this.driverId;
    }
    
    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getDriverLicense() {
        return this.driverLicense;
    }
    
    public void setDriverLicense(String driverLicense) {
        this.driverLicense = driverLicense;
    }

    public String getLicenseType() {
        return this.licenseType;
    }
    
    public void setLicenseType(String licenseType) {
        this.licenseType = licenseType;
    }

    public String getLicenseYear() {
        return this.licenseYear;
    }
    
    public void setLicenseYear(String licenseYear) {
        this.licenseYear = licenseYear;
    }

    public String getNote() {
        return this.note;
    }
    
    public void setNote(String note) {
        this.note = note;
    }

    public Set<Object> getDriverWorkloads() {
        return this.driverWorkloads;
    }
    
    public void setDriverWorkloads(Set<Object> driverWorkloads) {
        this.driverWorkloads = driverWorkloads;
    }

}